<template>
  <div class="container-profile">
    <div class="profile-header">

      <!--头像信息-->
      <div class="general-info">
        <div class="general-info-t" style="padding: 24px 0 30px 24px;">
          <div class="general-info-avatar">
            <userAvatar :user="userInfo"/>
          </div>
          <div class="general-info-t-info">
            <div class="profile-name-info">
              <div class="person-name">{{ userInfo.nickName }}</div>
              <div class="person-code-age" v-if="userInfo.sex=='0'"
                   style="background-color: rgb(199, 233, 253); color: rgb(30, 104, 216);"
              >
                <img src="@/assets/images/user/sex01.png" alt="">
                <span>男</span>
              </div>
              <div class="person-code-age" v-else-if="userInfo.sex=='1'"
                   style="background-color: #DA6696;color: #600030;"
              >
                <img src="@/assets/images/user/sex02.png" alt="">
                <span>女</span>
              </div>
              <div class="person-code-age" v-else
                   style="background-color: rgb(199, 233, 253); color: rgb(30, 104, 216);"
              >
                <span>未知</span>
              </div>
            </div>
            <div class="profile-vip-info no-vip">
              <!--                      <i class="vip-icon"></i>-->
              <div class="no-vip-info" style="margin-right: 0;">
                手机号：{{ userInfo.phonenumber }}
              </div>
            </div>
          </div>
          <button type="button"
                  style="width: 110px;position: absolute;top: 55px;
                          right: 32px;height: 40px;font-size: 16px;"
                  class="el-button edit-btn-save el-button--primary
                                  el-button--small is-round"
                  @click="logout"
          >
            <span>退出登录</span>
          </button>
        </div>
        <div class="general-info-b">
<!--          <div class="c-coin">
            <a href="https://mall.csdn.net/vip?type=v2">个人主页</a>
          </div>-->
          <div class="grey-btn">
            <a href="javascript:void(0)" @click="btnClick(userInfo)">个人主页<i class="el-icon-arrow-right"></i></a>
          </div>
        </div>
      </div>

      <!--基本信息-->
      <div class="base-info">
        <div class="base-info-head">基本信息</div>
        <div class="base-info-content">

          <!--基本信息展示-->
          <div class="base-info-content-show" v-if="!showEdit">
            <ul>
              <li>
                <div class="content-show-l">用户昵称</div>
                <div class="content-show-r" v-if="userInfo.nickName!=''">
                  {{ userInfo.nickName }}
                </div>
                <div class="content-show-r no-data" v-else>未填写</div>
              </li>
              <li>
                <div class="content-show-l">
                  <span>用</span><span>户</span><span>名</span>
                </div>
                <div class="content-show-r">{{ userInfo.userName }}</div>
              </li>
              <li>
                <div class="content-show-l">
                  <span>手</span><span>机</span><span>号</span>
                </div>
                <div class="content-show-r" v-if="userInfo.phonenumber!=''">
                  {{ userInfo.phonenumber }}
                </div>
                <div class="content-show-r no-data" v-else>未填写</div>
              </li>
              <li>
                <div class="content-show-l">
                  <span>邮</span><span>箱</span>
                </div>
                <div class="content-show-r" v-if="userInfo.email!=''">
                  {{ userInfo.email }}
                </div>
                <div class="content-show-r no-data" v-else>未填写</div>
              </li>
              <li>
                <div class="content-show-l">
                  <span>性</span><span>别</span>
                </div>
                <div class="content-show-r" v-if="userInfo.sex=='0'">
                  <img src="@/assets/images/user/sex01.png" alt="">
                </div>
                <div class="content-show-r" v-else-if="userInfo.sex=='1'">
                  <img src="@/assets/images/user/sex02.png" alt="">
                </div>
                <div class="content-show-r no-data" v-else>未选择</div>
              </li>
              <li>
                <div class="content-show-l">注册时间</div>
                <div class="content-show-r">
                  {{ parseTime(userInfo.createTime, '{y}-{m}-{d}') }}
                </div>
              </li>
              <li>
                <div class="content-show-l">个人简介</div>
                <div class="content-show-r" v-if="userInfo.remark!=''">
                  {{ userInfo.remark }}
                </div>
                <div class="content-show-r no-data" v-else>未填写</div>
              </li>
            </ul>
            <!--            <div class="edit-icon" @click="editClick">
                          <i></i>编辑
                        </div>-->
            <div class="edit-icon" @click="editClick">
              <el-button style="padding: 5px 10px;font-size: 14px;" size="small"
                         round type="primary"
                         @click="editClick"
              >编辑
              </el-button>
            </div>
          </div>

          <!--基本信息编辑-->
          <div class="base-info-content-edit" v-if="showEdit">
            <form class="el-form base-info-edit-form el-form--label-top el-form--inline">
              <!--用户名-->
              <div class="el-form-item is-no-asterisk">
                <label class="el-form-item__label">用户名</label>
                <div class="el-form-item__content">
                  <div class="el-input is-disabled">
                    <input type="text" disabled="disabled"
                           autocomplete="off"
                           class="el-input__inner"
                           v-model="userInfoEdit.userName"
                           placeholder="请输入用户名"
                    >
                  </div>
                </div>
              </div>
              <!--用户昵称-->
              <div class="el-form-item is-no-asterisk">
                <label class="el-form-item__label">用户昵称</label>
                <div class="el-form-item__content">
                  <div class="el-input">
                    <input type="text" autocomplete="off"
                           placeholder="请输入昵称"
                           class="el-input__inner"
                           v-model="userInfoEdit.nickName"
                           :style="{'border-color': showErr.nickName ? '#f56c6c' : ''}"
                           @blur="blurInput('nickName',userInfoEdit.nickName)"
                    >
                  </div>
                  <div v-if="showErr.nickName" class="el-form-item__error">
                    {{ errMsg.nickName }}
                  </div>
                </div>
              </div>
              <!--手机号-->
              <div class="el-form-item is-no-asterisk">
                <label class="el-form-item__label">手机号</label>
                <div class="el-form-item__content">
                  <div class="el-input">
                    <input type="number" autocomplete="off"
                           class="el-input__inner"
                           v-model="userInfoEdit.phonenumber"
                           maxlength="11"
                           placeholder="请输入手机号"
                           oninput="if(value.length > 11)value=value.slice(0,11)"
                           :style="{'border-color': showErr.phonenumber?'#f56c6c' : ''}"
                           @blur="blurInput('phonenumber',userInfoEdit.phonenumber)"
                    >
                  </div>
                  <div v-if="showErr.phonenumber" class="el-form-item__error">
                    {{ errMsg.phonenumber }}
                  </div>
                </div>
              </div>
              <!--邮箱-->
              <div class="el-form-item is-no-asterisk">
                <label class="el-form-item__label">邮箱</label>
                <div class="el-form-item__content">
                  <div class="el-input">
                    <input type="email" autocomplete="off"
                           class="el-input__inner"
                           v-model="userInfoEdit.email"
                           placeholder="请输入邮箱"
                           :style="{'border-color': showErr.email ? '#f56c6c' : ''}"
                           @blur="blurInput('email',userInfoEdit.email)"
                    >
                  </div>
                  <div v-if="showErr.email" class="el-form-item__error">
                    {{ errMsg.email }}
                  </div>
                </div>
              </div>
              <!--性别-->
              <div class="el-form-item edit-gender is-no-asterisk">
                <label class="el-form-item__label">性别</label>
                <div class="el-form-item__content">
                  <label @click.stop="sexClick('0')"
                         :class="[userInfoEdit.sex=='0'
                          ?'el-radio is-bordered is-checked':'el-radio is-bordered']"
                  >
                            <span :class="[userInfoEdit.sex=='0'
                          ?'el-radio__input is-checked':'el-radio__input']"
                            >
                              <span class="el-radio__inner"></span>
                              <input class="el-radio__original">
                            </span>
                    <span class="el-radio__label">男</span>
                  </label>
                  <label @click.stop="sexClick('1')"
                         :class="[userInfoEdit.sex=='1'
                          ?'el-radio is-bordered is-checked':'el-radio is-bordered']"
                  >
                            <span :class="[userInfoEdit.sex=='1'
                          ?'el-radio__input is-checked':'el-radio__input']"
                            >
                              <span class="el-radio__inner"></span>
                              <input class="el-radio__original">
                            </span>
                    <span class="el-radio__label">女</span>
                  </label>
                </div>
              </div>
              <!--注册日期-->
              <div class="el-form-item is-no-asterisk">
                <label class="el-form-item__label">注册日期</label>
                <div class="el-form-item__content">
                  <div class="el-input is-disabled">
                    <input type="text" disabled="disabled"
                           autocomplete="off"
                           class="el-input__inner"
                           :value="parseTime(userInfoEdit.createTime, '{y}-{m}-{d}')"
                    >
                  </div>
                </div>
              </div>
              <!--个人简介-->
              <div class="el-form-item edit-intro is-no-asterisk">
                <label class="el-form-item__label">个人简介</label>
                <div class="el-form-item__content">
                  <div class="el-textarea">
                            <textarea autocomplete="off"
                                      maxlength="300"
                                      placeholder="你很懒，还没有添加简介"
                                      class="el-textarea__inner"
                                      style="resize: none; min-height: 33px;"
                                      v-model="userInfoEdit.remark"
                            >
                            </textarea>
                  </div>
                </div>
              </div>
              <!--操作按钮-->
              <div class="el-form-item edit-btn is-no-asterisk">
                <div class="el-form-item__content">
                  <button type="button"
                          class="el-button edit-btn-cancel el-button--default
                                  el-button--small is-round"
                          @click="close"
                  >
                    <span>取消</span>
                  </button>
                  <button type="button"
                          class="el-button edit-btn-save el-button--primary
                                  el-button--small is-round"
                          @click="submit"
                  >
                    <span>保存</span>
                  </button>
                </div>
              </div>
            </form>
          </div>
        </div>
      </div>

      <!--所在社团-->
      <div class="edu-infor-box">
        <header>
          <span class="edu-infor-title">所属社团</span>
          <span class="edu-infor-cert" v-if="!userInfo.deptId">
            <span class="edu-infor-cert-title">暂无加入任何社团</span>
            <span class="edu-infor-cert-action">
              <a href="javascript:void(0)" @click="sqClick('dept')">去申请<i class="action-arrow-right"></i></a>
            </span>
          </span>
        </header>
        <div v-if="userInfo.dept && userInfo.deptId && userInfo.deptStatus=='0'"
             class="edu-infor-content"
        >
          <div class="default-content">
            <div class="edit-btn">
              <el-button style="padding: 5px 10px;font-size: 14px;" size="small"
                         round type="primary"
                         @click="detailClick('dept',userInfo.dept)"
              >查看
              </el-button>
            </div>
            <ul>
              <li>
                <span class="default-content-title">社团名称</span>
                <span class="default-content-text has-value">
                          {{ userInfo.dept.deptName }}
                        </span>
              </li>
              <li>
                        <span class="default-content-title second-word">
                          <span>负</span><span>责</span><span>人</span></span>
                <span class="default-content-text has-value" v-if="userInfo.dept.leader">
                          {{ userInfo.dept.leader }}
                        </span>
                <span class="default-content-text" v-else>暂无负责人</span>
              </li>
              <li>
                <span class="default-content-title">社团电话</span>
                <span class="default-content-text has-value" v-if="userInfo.dept.phone">
                          {{ userInfo.dept.phone }}
                        </span>
                <span class="default-content-text" v-else>暂无电话</span>
              </li>
              <li>
                <span class="default-content-title second-word">社团邮箱</span>
                <span class="default-content-text has-value" v-if="userInfo.dept.email">
                          {{ userInfo.dept.email }}
                        </span>
                <span class="default-content-text" v-else>暂无邮箱</span>
              </li>
            </ul>
          </div>
        </div>
        <div v-if="userInfo.dept && userInfo.deptId && userInfo.deptStatus=='1'"
             class="edu-infor-content" style="position: relative"
        >
          <div class="default-content">
            <div class="edit-btn">
              <el-button style="padding: 5px 10px;font-size: 14px;" size="small"
                         round type="primary"
                         @click="detailClick(userInfo.dept)"
              >查看
              </el-button>
            </div>
            <ul>
              <li>
                <span class="default-content-title">社团名称</span>
                <span class="default-content-text has-value">
                          {{ userInfo.dept.deptName }}
                        </span>
              </li>
              <li>
                        <span class="default-content-title second-word">
                          <span>负</span><span>责</span><span>人</span></span>
                <span class="default-content-text has-value" v-if="userInfo.dept.leader">
                          {{ userInfo.dept.leader }}
                        </span>
                <span class="default-content-text" v-else>暂无负责人</span>
              </li>
              <li>
                <span class="default-content-title">社团电话</span>
                <span class="default-content-text has-value" v-if="userInfo.dept.phone">
                          {{ userInfo.dept.phone }}
                        </span>
                <span class="default-content-text" v-else>暂无电话</span>
              </li>
              <li>
                <span class="default-content-title second-word">社团邮箱</span>
                <span class="default-content-text has-value" v-if="userInfo.dept.email">
                          {{ userInfo.dept.email }}
                        </span>
                <span class="default-content-text" v-else>暂无邮箱</span>
              </li>
            </ul>
          </div>
          <div class="daishenhe">
            <span>待审核中。。。</span>
          </div>
        </div>
        <div v-if="!userInfo.deptId"
             class="edu-infor-content"
        >
          <img src="@/assets/images/user/zhanwu03.jpeg">
        </div>
      </div>

      <!--所在组织-->
      <div class="edu-infor-box">
        <header>
          <span class="edu-infor-title">所属组织</span>
          <span v-if="!postGroup" class="job-infor-cert">
            <span class="job-infor-cert-title">暂无加入任何组织</span>
            <span class="job-infor-cert-action">
              <a href="javascript:void(0)" @click="sqClick('post')">去申请<i class="action-arrow-right"></i></a>
            </span>
          </span>
        </header>
        <div v-if="postGroup" class="edu-infor-content">
          <div class="default-content">
            <div class="edit-btn">
              <el-button style="padding: 5px 10px;font-size: 14px;" size="small" round type="primary"
                         @click="detailClick('post')"
              >查看
              </el-button>
            </div>
            <ul>
              <li>
                <span class="default-content-title">组织名称</span>
                <span class="default-content-text has-value">{{ postGroup }}</span>
              </li>
              <li>
                <span class="default-content-title second-word"><span>负</span><span>责</span><span>人</span></span>
                <span class="default-content-text has-value" v-if="postGroup">黄玉东</span>
                <span class="default-content-text" v-else>暂无负责人</span>
              </li>
              <li>
                <span class="default-content-title">社团电话</span>
                <span class="default-content-text has-value" v-if="postGroup">17334445698</span>
                <span class="default-content-text" v-else>暂无电话</span>
              </li>
              <li>
                <span class="default-content-title second-word">社团邮箱</span>
                <span class="default-content-text has-value" v-if="postGroup">211312@wad.com</span>
                <span class="default-content-text" v-else>暂无邮箱</span>
              </li>
            </ul>
          </div>
        </div>
        <!--                <div v-if="userInfo.dept && userInfo.deptId && userInfo.deptStatus=='1'"
                             class="edu-infor-content" style="position: relative"
                        >
                          <div class="default-content">
                            <div class="edit-btn">
                              <el-button style="padding: 5px 10px;font-size: 14px;" size="small"
                                         round type="primary"
                                         @click="detailClick(userInfo.dept)"
                              >查看
                              </el-button>
                            </div>
                            <ul>
                              <li>
                                <span class="default-content-title">社团名称</span>
                                <span class="default-content-text has-value">
                                  {{ userInfo.dept.deptName }}
                                </span>
                              </li>
                              <li>
                                <span class="default-content-title second-word">
                                  <span>负</span><span>责</span><span>人</span></span>
                                <span class="default-content-text has-value" v-if="userInfo.dept.leader">
                                  {{ userInfo.dept.leader }}
                                </span>
                                <span class="default-content-text" v-else>暂无负责人</span>
                              </li>
                              <li>
                                <span class="default-content-title">社团电话</span>
                                <span class="default-content-text has-value" v-if="userInfo.dept.phone">
                                  {{ userInfo.dept.phone }}
                                </span>
                                <span class="default-content-text" v-else>暂无电话</span>
                              </li>
                              <li>
                                <span class="default-content-title second-word">社团邮箱</span>
                                <span class="default-content-text has-value" v-if="userInfo.dept.email">
                                  {{ userInfo.dept.email }}
                                </span>
                                <span class="default-content-text" v-else>暂无邮箱</span>
                              </li>
                            </ul>
                          </div>
                          <div class="daishenhe">
                            <span>待审核中。。。</span>
                          </div>
                        </div>-->
        <div v-if="!postGroup" class="edu-infor-content">
          <img src="@/assets/images/user/zhanwu03.jpeg">
        </div>
      </div>

    </div>
  </div>
</template>

<script>
import userAvatar from '@/views/user/userAvatar'
import { getUserProfile, updateUserProfile } from '@/api/user'
import { getDept } from '@/api/dept'

export default {
  name: 'userInfo',
  components: { userAvatar },
  data() {
    return {
      showErr: {
        nickName: false,
        phonenumber: false,
        email: false
      },
      errMsg: {
        nickName: '',
        phonenumber: '',
        email: ''
      },
      regs: {
        email: /^[a-zA-Z0-9_.-]+@[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)*\.[a-zA-Z0-9]{2,6}$/,
        userNameReg: /^(([\u4e00-\u9fa5])|[a-zA-Z0-9-_]){4,20}$/,
        pwdReg: /^.{6,20}$/,
        phone: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/,
        numReg: /\d/,
        strReg: /[a-zA-Z]/,
        tsReg: /[^\u4e00-\u9fa5a-zA-Z0-9]/,
        reg1: /^[0-9]{5,}$/,
        reg2: /^[a-z]{5,}$/,
        reg3: /^[a-z0-9]{6,16}$/,
        reg4: /^[a-z0-9_]{6,16}$/,
        reg5: /\s/g,
        reg6: /^[a-z_]{6,16}$/,
        reg7: /^[0-9_]{6,16}$/
      },
      showEdit: false,
      userInfo: {},
      userInfoEdit: {},
      roleGroup: {},
      postGroup: {}
    }
  },
  created() {
    this.getUser()
  },
  methods: {
    //个人主页
    btnClick(val){
      this.$router.push({
        path: '/personal',
        query: {
          id: val.userId
        }
      })
    },
    //申请
    sqClick(e) {
      sessionStorage.removeItem('postId')
      sessionStorage.removeItem('deptListName')
      if (e == 'dept') {
        this.$router.push('/dept/index')
      } else if (e == 'post') {
        this.$router.push('/post/list')
      }
    },
    //社团查看
    detailClick(e, val) {
      if (e == 'dept') {
        getDept(val.parentId).then(res => {
          if (res.code === 200) {
            sessionStorage.setItem('deptListName', res.data.deptName)
            sessionStorage.setItem('deptName', val.deptName)
            this.$router.push({
              path: '/dept/index/list/edit',
              query: {
                id: val.deptId
              }
            })
          } else {
            sessionStorage.setItem('deptName', val.deptName)
            this.$router.push({
              path: '/dept/index/list/edit',
              query: {
                id: val.deptId
              }
            })
          }
        })
      } else if (e == 'post') {
        this.$router.push({
          path: '/post/list'
          /*query: {
            id: val.deptId
          }*/
        })
      }

    },
    //获取用户信息
    getUser() {
      getUserProfile().then(response => {
        this.userInfo = response.data
        this.roleGroup = response.roleGroup
        this.postGroup = response.postGroup
      })
    },
    //失去焦点
    blurInput(e, val) {
      if (e == 'nickName') {
        if (val == '') {
          this.showErr.nickName = true
          this.errMsg.nickName = '昵称不能为空'
        } else if (val.length < 1 || val.length > 20) {
          this.showErr.nickName = true
          this.errMsg.nickName = '昵称长度需在 1 到 20 个字符'
        } else {
          this.showErr.nickName = false
          this.errMsg.nickName = ''
        }
      } else if (e == 'phonenumber') {
        if (val == '') {
          this.showErr.phonenumber = true
          this.errMsg.phonenumber = '手机号不能为空'
        } else if (val.length != 11 || !this.regs.phone.test(val)) {
          this.showErr.phonenumber = true
          this.errMsg.phonenumber = '请输入正确的 11 位手机号码'
        } else {
          this.showErr.phonenumber = false
          this.errMsg.phonenumber = ''
        }
      } else if (e == 'email') {
        if (val == '') {
          this.showErr.email = true
          this.errMsg.email = '邮箱不能为空'
        } else if (!this.regs.email.test(val)) {
          this.showErr.email = true
          this.errMsg.email = '请输入正确邮箱地址'
        } else {
          this.showErr.email = false
          this.errMsg.email = ''
        }
      } else {
        this.showErr = {
          nickName: false,
          phonenumber: false,
          email: false
        }
        this.errMsg = {
          nickName: '',
          phonenumber: '',
          email: ''
        }
      }
    },
    //性别选择
    sexClick(e) {
      if (e == '0') {
        this.userInfoEdit.sex = '0'
      } else if (e == '1') {
        this.userInfoEdit.sex = '1'
      }
    },
    //编辑按钮
    editClick() {
      this.showEdit = true
      this.userInfoEdit = JSON.parse(JSON.stringify(this.userInfo))
    },
    //提交按钮
    submit() {
      if (this.showErr.nickName || this.showErr.phonenumber || this.showErr.email) {
        return
      }
      updateUserProfile(this.userInfoEdit).then(response => {
        if (response.code === 200) {
          this.getUser()
          this.showEdit = false
          this.msgSuccess('修改成功')
        } else {
          this.msgError(response.msg)
        }
      })
    },
    //取消按钮
    close() {
      this.showEdit = false
      this.showErr = {
        nickName: false,
        phonenumber: false,
        email: false
      }
      this.errMsg = {
        nickName: '',
        phonenumber: '',
        email: ''
      }
    },

    //退出登录
    async logout() {
      this.$confirm('确定退出登录吗？', '提示', {
        confirmButtonText: '确定',
        cancelButtonText: '取消',
        type: 'warning'
      }).then(() => {
        this.$store.dispatch('LogOut').then(() => {
          location.href = '/home'
        })
      })
    }
  }
}
</script>

<style lang="scss" scoped>
#app_main {

  .daishenhe {
    /* opacity: 0.58;
     left: 0;
     background: #508CC2;
     height: 98%;
     position: absolute;
     width: 100%;
     top: 2%;
     text-align: center;
     -webkit-box-align: center;
     -ms-flex-align: center;
     align-items: center;*/

    opacity: 0.58;
    left: 2%;
    background: #508CC2;
    height: 224px;
    position: absolute;
    width: 96%;
    top: 7%;
    text-align: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }

  .daishenhe span {
    font-weight: 600;
    top: 47%;
    font-size: 20px;
    opacity: 1;
    position: relative;
    color: #fff;
  }

  .el-form-item__error {
    color: #f56c6c;
    font-size: 12px;
    line-height: 1;
    padding-top: 4px;
    position: absolute;
    top: 100%;
    left: 0;
  }

  input[type=number] {
    -moz-appearance: textfield;
  }

  input[type=number]::-webkit-inner-spin-button,
  input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }

  .el-radio.is-bordered {
    padding: 12px 20px 0 10px;
    border-radius: 4px;
    border: 1px solid #DCDFE6;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    height: 40px
  }

  .el-radio.is-bordered.is-checked {
    border-color: #409EFF
  }

  .el-radio.is-bordered.is-disabled {
    cursor: not-allowed;
    border-color: #EBEEF5
  }

  .el-radio__input.is-disabled .el-radio__inner, .el-radio__input.is-disabled.is-checked .el-radio__inner {
    background-color: #F5F7FA;
    border-color: #E4E7ED
  }

  .el-radio.is-bordered + .el-radio.is-bordered {
    margin-left: 10px
  }

  .el-input__icon {
    height: 100%;
    width: 25px;
    text-align: center;
    -webkit-transition: all .3s;
    transition: all .3s;
    line-height: 40px
  }

  .el-input__icon:after {
    content: '';
    height: 100%;
    width: 0;
    display: inline-block;
    vertical-align: middle
  }

  .el-input.is-disabled .el-input__icon {
    cursor: not-allowed
  }

  .el-input--medium .el-input__icon {
    line-height: 36px
  }

  .el-input--small .el-input__icon {
    line-height: 32px
  }

  .el-input--mini .el-input__icon {
    line-height: 28px
  }

  .el-transfer-panel__filter .el-input__icon {
    margin-left: 5px
  }

  .el-form--label-left .el-form-item__label {
    text-align: left
  }

  .el-form--label-top .el-form-item__label {
    float: none;
    display: inline-block;
    text-align: left;
    padding: 0 0 10px
  }

  .el-form-item__label {
    text-align: right;
    vertical-align: middle;
    float: left;
    font-size: 14px;
    color: #606266;
    line-height: 40px;
    padding: 0 12px 0 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box
  }


  .container.container-fixed .container-left {
    position: fixed;
    top: 58px;
  }

  .container.container-fixed .user-center-floor {
    position: fixed;
    top: 58px;
  }

  .container {
    position: relative;
    width: auto;
    min-width: 896px;
    min-height: 800px;
    background: transparent;
    margin: 10px auto 20px auto;
  }

  .container .container-left {
    position: absolute;
    width: 190px;
    top: 0;
    float: left;
    background: #fff;
  }

  .container .container-left ul {
    width: 100%;
    list-style: none;
    font-size: 14px;
    padding: 8px 0;
  }

  .container .container-left ul a {
    display: block;
    width: 100%;
    height: 48px;
    line-height: 48px;
    text-align: center;
    color: #555666;
  }

  .container .container-left ul a:hover {
    background: #f0f0f5;
    font-weight: 500;
    color: #222226;
  }

  .container .container-left ul a:hover i {
    color: #222226;
  }

  .container .container-left .router-link-active {
    font-weight: 500;
    color: #222226;
    background: #f0f0f5;
  }

  .container .container-left .router-link-active a {
    color: #222226;
  }

  .container .container-left .router-link-active a i {
    color: #222226;
  }

  .container .container-right {
    min-width: 1000px;
    margin-left: 200px;
    min-height: 800px;
  }

  .container .container-right .user-account-content {
    padding: 16px;
    background: #fff;
  }

  .container .container-right .collection {
    width: 1000px;
    background: #fff;
  }

  .container-profile {
    min-width: 1000px;
    -ms-flex-line-pack: justify;
    align-content: space-between;
  }

  .general-info {
    margin-bottom: 10px;
    background: #fff;
  }

  .general-info .general-info-t {
    padding: 24px 0 40px 24px;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-shadow: 0 1px 8px 0 rgba(0, 0, 0, 0.04);
    box-shadow: 0 1px 8px 0 rgba(0, 0, 0, 0.04);
  }

  .general-info .general-info-t .edit-btn-save {
    background-color: #FC5531;
    border-color: #FC5531;
    margin-left: 16px;
  }

  .general-info .general-info-t .edit-btn-save:hover {
    background-color: #FC1944;
  }

  .general-info .general-info-t .general-info-avatar {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    position: relative;
    width: 100px;
    height: 100px;
    margin-right: 16px;
    -webkit-box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.06);
    box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.06);
    border: 2px solid #FFFFFF;
    border-radius: 50%;
    cursor: pointer;
  }

  .general-info .general-info-t .general-info-avatar > img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 50%;
  }

  .general-info .general-info-t .general-info-avatar .avatar-hover {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border-radius: 50%;
  }

  .general-info .general-info-t .general-info-avatar .avatar-hover img {
    width: 32px;
    height: 32px;
  }

  .general-info .general-info-t .general-info-avatar:hover .avatar-hover {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }

  .general-info .general-info-t .general-info-sign {
    cursor: pointer;
    position: absolute;
    top: 12px;
    right: 32px;
    font-size: 12px;
    color: #555666;
    line-height: 16px;
    width: 106px;
    height: 94px;
    padding-top: 67px;
    padding-left: 8px;
    background: url(../../assets/images/user/sign-in.08dc4ec.png) no-repeat center;
    background-size: cover;
  }

  .general-info .general-info-t .general-info-t-info {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .general-info .general-info-t .general-info-t-info .profile-name-info {
    margin-bottom: 16px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }

  .general-info .general-info-t .general-info-t-info .profile-name-info .person-name {
    color: #222226;
    font-weight: 500;
    line-height: 24px;
    font-size: 20px;
    margin-right: 16px;
  }

  .general-info .general-info-t .general-info-t-info .profile-name-info .person-code-age {
    height: 16px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border-radius: 8px;
  }

  .general-info .general-info-t .general-info-t-info .profile-name-info .person-code-age img {
    width: 22px;
    height: 22px;
    display: block;
  }

  .general-info .general-info-t .general-info-t-info .profile-name-info .person-code-age span {
    padding: 0 6px 0 4px;
    font-size: 12px;
    display: block;
    height: 16px;
    line-height: 16px;
    text-align: center;
  }

  .general-info .general-info-t .general-info-t-info .profile-name-info .person-cert {
    margin-left: 8px;
  }

  .general-info .general-info-t .general-info-t-info .profile-name-info .person-cert img {
    width: 52px;
    display: block;
  }

  .general-info .general-info-t .general-info-t-info .profile-vip-info {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 32px;
    background: -webkit-gradient(linear, left top, right top, from(#FFE3B2), to(#FFF3DE));
    background: linear-gradient(90deg, #FFE3B2 0%, #FFF3DE 100%);
    border-radius: 4px;
    padding: 0 8px;
    font-size: 14px;
  }

  .general-info .general-info-t .general-info-t-info .profile-vip-info .vip-icon {
    display: inline-block;
    margin-right: 2px;
    width: 22px;
    height: 22px;
    background: url("../../assets/images/user/huanggguan02.png") no-repeat center;
    background-size: cover;
  }

  .general-info .general-info-t .general-info-t-info .profile-vip-info .vip-name {
    color: #822C11;
    font-weight: 500;
    margin-right: 16px;
  }

  .general-info .general-info-t .general-info-t-info .profile-vip-info .vip-expire-time {
    color: #822C11;
    margin-right: 32px;
  }

  .general-info .general-info-t .general-info-t-info .profile-vip-info .go-mall {
    color: #FC5531;
  }

  .general-info .general-info-t .general-info-t-info .profile-vip-info .go-mall:hover {
    color: #FC1944;
  }

  .general-info .general-info-t .general-info-t-info .profile-vip-info.no-vip {
    background: -webkit-gradient(linear, left top, right top, from(#EFEFEF), to(#F9F9F9));
    background: linear-gradient(90deg, #EFEFEF 0%, #F9F9F9 100%);
  }

  .general-info .general-info-t .general-info-t-info .profile-vip-info.no-vip .vip-icon {
    background-image: url("../../assets/images/user/huangguan.png");
  }

  .general-info .general-info-t .general-info-t-info .profile-vip-info.no-vip .no-vip-info {
    color: #999AAA;
    margin-right: 88px;
  }

  .general-info .general-info-b {
    height: 48px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background: #FDFDFD;
    padding-left: 25px;
    font-size: 14px;
  }

  .general-info .general-info-b .c-coin {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }

  .general-info .general-info-b .c-coin i {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url("../../assets/images/user/ccc.png") no-repeat center;
    background-size: cover;
    margin-right: 5px;
  }

  .general-info .general-info-b .c-coin .c-coin-info {
    color: #FC5531;
    margin-right: 8px;
  }

  .general-info .general-info-b .c-coin .c-coin-num {
    color: #222226;
    font-weight: 500;
    margin-right: 85px;
  }

  .general-info .general-info-b .c-coin a {
    color: #fff;
    background: #FC5531;
    display: inline-block;
    width: 72px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    border-radius: 15px;
    font-size: 14px;
  }

  .general-info .general-info-b .c-coin a:hover {
    background: #FC1944;
  }

  .general-info .general-info-b .grey-btn {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background: #F2F2F2;
    color: #555666;
    height: 28px;
    border-radius: 16px;
    padding: 0 12px;
    cursor: pointer;
  }

  .general-info .general-info-b .grey-btn a {
    color: inherit;
  }

  .general-info .general-info-b .grey-btn:hover {
    background: #EFEFEF;
  }

  .general-info .general-info-b .general-info-b-split {
    width: 1px;
    height: 16px;
    background: #CCCCD8;
    margin: 0 32px;
  }

  .base-info {
    width: 1000px;
    background: #fff;
    margin-bottom: 10px;
  }

  .base-info .base-info-head {
    text-align: left;
    height: 48px;
    line-height: 48px;
    font-size: 18px;
    font-weight: 600;
    color: #2E2E2E;
    padding-left: 16px;
    border-bottom: 1px solid #F0F0F2;
  }

  .base-info .base-info-content {
    padding: 16px;
  }

  .base-info .base-info-content .base-info-content-show {
    cursor: pointer;
    padding: 16px 112px 16px 0;
    position: relative;
  }

  .base-info .base-info-content .base-info-content-show:hover {
    background: #F8F8F8;
  }

  .base-info .base-info-content .base-info-content-show:hover .edit-icon {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }

  .base-info .base-info-content .base-info-content-show ul li {
    line-height: 24px;
    font-size: 14px;
    margin-bottom: 32px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }

  .base-info .base-info-content .base-info-content-show ul li .content-show-l {
    width: 56px;
    color: #555666;
    margin-right: 40px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    padding-left: 16px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }

  .base-info .base-info-content .base-info-content-show ul li .content-show-r {
    color: #222226;
    word-break: break-all;
  }

  .base-info .base-info-content .base-info-content-show ul li .content-show-r img {
    width: 24px;
    height: 24px;
    display: block;
  }

  .base-info .base-info-content .base-info-content-show ul li .content-show-r.no-data {
    color: #999AAA;
  }

  .base-info .base-info-content .base-info-content-show ul li:nth-last-child(1) {
    margin-bottom: 0;
  }

  .base-info .base-info-content .base-info-content-show .edit-icon {
    display: none;
    position: absolute;
    top: 16px;
    right: 16px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    color: #1989FA;
    font-size: 14px;
  }

  .base-info .base-info-content .base-info-content-show .edit-icon i {
    display: inline-block;
    margin-right: 2px;
    width: 16px;
    height: 16px;
    background: url("../../assets/images/user/edit02.png") no-repeat center;
    background-size: 16px 16px;
  }

  .base-info .base-info-content .base-info-content-show .edit-icon:hover {
    color: #409EFF;
  }

  .base-info .base-info-content .base-info-content-show .edit-icon:hover i {
    background: url("../../assets/images/user/edit.png") no-repeat center;
    background-size: 16px 16px;
  }

  .base-info .base-info-content .base-info-content-edit {
    padding: 24px 40px;
    background: #F8F8F8;
    text-align: left;
  }

  .base-info .base-info-content .base-info-content-edit .base-info-edit-form {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }

  .base-info .base-info-content .base-info-content-edit .base-info-edit-form .el-form-item {
    width: 419px;
    margin-right: 0;
    margin-bottom: 24px;
  }

  .base-info .base-info-content .base-info-content-edit .base-info-edit-form .el-form-item .el-form-item__label {
    line-height: 16px;
    padding-bottom: 8px;
  }

  .base-info .base-info-content .base-info-content-edit .base-info-edit-form .el-form-item .el-form-item__content .el-date-editor.el-input,
  .base-info .base-info-content .base-info-content-edit .base-info-edit-form .el-form-item .el-form-item__content .el-date-editor.el-input__inner,
  .base-info .base-info-content .base-info-content-edit .base-info-edit-form .el-form-item .el-form-item__content .el-cascader {
    width: 100%;
  }

  .base-info .base-info-content .base-info-content-edit .base-info-edit-form .edit-nickname {
    width: 100%;
  }

  .base-info .base-info-content .base-info-content-edit .base-info-edit-form .edit-nickname .el-form-item__content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }

  .base-info .base-info-content .base-info-content-edit .base-info-edit-form .edit-nickname .el-form-item__content .el-input {
    width: 419px;
  }

  .base-info .base-info-content .base-info-content-edit .base-info-edit-form .edit-nickname .el-form-item__content .edit-nickname-modifyTime {
    margin-left: 48px;
    color: #FC5531;
  }

  .base-info .base-info-content .base-info-content-edit .base-info-edit-form .edit-gender .el-form-item__content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }

  .base-info .base-info-content .base-info-content-edit .base-info-edit-form .edit-gender .el-form-item__content .is-checked {
    background: #fff;
  }

  .base-info .base-info-content .base-info-content-edit .base-info-edit-form .edit-gender .el-form-item__content > label {
    width: 201px;
    text-align: center;
    margin-right: 17px;
  }

  .base-info .base-info-content .base-info-content-edit .base-info-edit-form .edit-gender .el-form-item__content > label .el-radio__label {
    line-height: 14px !important;
  }

  .base-info .base-info-content .base-info-content-edit .base-info-edit-form .edit-gender .el-form-item__content > label:nth-last-child(1) {
    margin-right: 0;
    margin-left: 0;
  }

  .base-info .base-info-content .base-info-content-edit .base-info-edit-form .edit-gender .el-form-item__content > label span.el-radio__input {
    display: none;
  }

  .base-info .base-info-content .base-info-content-edit .base-info-edit-form .edit-intro {
    width: 100%;
  }

  .base-info .base-info-content .base-info-content-edit .base-info-edit-form .edit-intro textarea {
    height: 80px;
  }

  .base-info .base-info-content .base-info-content-edit .base-info-edit-form .edit-btn {
    width: 100%;
    text-align: center;
    margin-bottom: 0;
  }

  .base-info .base-info-content .base-info-content-edit .base-info-edit-form .edit-btn .el-form-item__content {
    line-height: 32px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .base-info .base-info-content .base-info-content-edit .base-info-edit-form .edit-btn .el-form-item__content button {
    padding: 5px 26px;
  }

  .base-info .base-info-content .base-info-content-edit .base-info-edit-form .edit-btn .el-form-item__content button span {
    font-size: 14px;
    line-height: 20px;
    display: inline-block;
  }

  .base-info .base-info-content .base-info-content-edit .base-info-edit-form .edit-btn .el-form-item__content .edit-btn-cancel {
    color: #FC5531;
    border: 1px solid #FC5531;
  }

  .base-info .base-info-content .base-info-content-edit .base-info-edit-form .edit-btn .el-form-item__content .edit-btn-cancel:hover {
    background-color: #FFF5F2;
  }

  .base-info .base-info-content .base-info-content-edit .base-info-edit-form .edit-btn .el-form-item__content .edit-btn-save {
    background-color: #FC5531;
    border-color: #FC5531;
    margin-left: 16px;
  }

  .base-info .base-info-content .base-info-content-edit .base-info-edit-form .edit-btn .el-form-item__content .edit-btn-save:hover {
    background-color: #FC1944;
  }


  .edu-infor-box {
    background: #fff;
    width: 1000px;
    margin-bottom: 10px;
  }

  .edu-infor-box header {
    width: 100%;
    height: 48px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding-left: 16px;
    border-bottom: 1px solid #f0f0f2;
  }

  .edu-infor-box header .edu-infor-title {
    font-size: 18px;
    font-weight: 600;
    color: #2e2e2e;
  }

  .edu-infor-box header .edu-infor-cert {
    height: 28px;
    background: #fff3e5;
    border-radius: 2px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 0 10px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-left: 40px;
  }

  .edu-infor-box header .edu-infor-cert .edu-infor-cert-title {
    color: #cb7812;
    margin-right: 24px;
    font-size: 14px;
  }

  .edu-infor-box header .edu-infor-cert .edu-infor-cert-action {
    background: #e6c39c;
    color: #fff;
    height: 22px;
    border-radius: 11px;
    font-size: 13px;
  }

  .edu-infor-box header .edu-infor-cert .edu-infor-cert-action a {
    color: inherit;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 100%;
    padding: 0 10px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .edu-infor-box header .edu-infor-cert .edu-infor-cert-action a .action-arrow-right {
    margin-left: 5px;
    width: 16px;
    height: 16px;
    background: url() no-repeat;
    background-size: cover;
  }

  .edu-infor-box header .job-infor-cert {
    height: 28px;
    background: #ecf5ff;
    border-radius: 2px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 0 10px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-left: 40px;
  }

  .edu-infor-box header .job-infor-cert .job-infor-cert-title {
    color: #409eff;
    margin-right: 24px;
    font-size: 14px;
  }

  .edu-infor-box header .job-infor-cert .job-infor-cert-action {
    background: #409eff;
    color: #fff;
    height: 22px;
    border-radius: 11px;
    font-size: 13px;
    opacity: 0.47;
  }

  .edu-infor-box header .job-infor-cert .job-infor-cert-action a {
    color: inherit;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 100%;
    padding: 0 10px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .edu-infor-box header .job-infor-cert .job-infor-cert-action a .action-arrow-right {
    margin-left: 5px;
    width: 16px;
    height: 16px;
    background: url() no-repeat;
    background-size: cover;
  }

  .edu-infor-box .dialog-content {
    width: 498px;
    height: 244px;
    border-radius: 2px;
    border: 1px solid #ccccd8;
  }

  .edu-infor-box .edu-infor-content {
    padding: 16px;
  }

  .edu-infor-box .edu-infor-content .default-content {
    height: 224px;
    width: 100%;
    padding-top: 16px;
    cursor: pointer;
    position: relative;
    padding-left: 16px;
  }

  .edu-infor-box .edu-infor-content .default-content:hover {
    background: #f8f8f8;
  }

  .edu-infor-box .edu-infor-content .default-content:hover .edit-img {
    display: block;
  }

  .edu-infor-box .edu-infor-content .default-content:hover .edit-btn {
    display: block;
  }

  .edu-infor-box .edu-infor-content .default-content:hover .edit-btn-text {
    display: block;
  }

  .edu-infor-box .edu-infor-content .default-content .edit-btn {
    display: none;
    position: absolute;
    right: 16px;
    top: 16px;
    /*display: -webkit-box;
    display: -ms-flexbox;
    display: flex;*/
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }

  .edu-infor-box .edu-infor-content .default-content .edit-btn img {
    width: 16px;
    height: 16px;
    display: none;
  }

  .edu-infor-box .edu-infor-content .default-content .edit-btn span {
    margin-left: 2px;
    color: #1989fa;
    font-size: 14px;
    display: none;
  }

  .edu-infor-box .edu-infor-content .default-content .edit-btn:hover .edit-img {
    display: none;
  }

  .edu-infor-box .edu-infor-content .default-content .edit-btn:hover .edit-hover-img {
    display: block;
  }

  .edu-infor-box .edu-infor-content .default-content .edit-btn:hover span {
    margin-left: 2px;
    color: #409eff;
    font-size: 14px;
  }

  .edu-infor-box .edu-infor-content .default-content ul {
    width: 100%;
    height: 100%;
  }

  .edu-infor-box .edu-infor-content .default-content ul li {
    width: 100%;
    height: 56px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    font-size: 14px;
  }

  .edu-infor-box .edu-infor-content .default-content ul li .default-content-title {
    display: inline-block;
    width: 56px;
    height: 24px;
    color: #555666;
    margin-right: 40px;
    text-align: right;
  }

  .edu-infor-box .edu-infor-content .default-content ul li .second-word {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }

  .edu-infor-box .edu-infor-content .default-content ul li .default-content-text {
    color: #999aaa;
    height: 24px;
  }

  .edu-infor-box .edu-infor-content .default-content ul li .has-value {
    color: #222226;
  }

  .edu-infor-box .edu-infor-content .edit-content {
    background: #f8f8f8;
    height: 344px;
    width: 100%;
    padding: 24px 40px;
    position: relative;
  }

  .edu-infor-box .edu-infor-content .edit-content .el-form .el-input {
    width: 419px;
    height: 40px;
  }

  .edu-infor-box .edu-infor-content .edit-content .el-form .el-select {
    width: 419px;
    height: 40px;
  }

  .edu-infor-box .edu-infor-content .edit-content .el-form .el-select .el-input {
    width: 419px;
    height: 40px;
  }

  .edu-infor-box .edu-infor-content .edit-content .el-form .el-form-item__content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .edu-infor-box .edu-infor-content .edit-content .el-form .el-input__inner {
    margin-right: 48px;
    width: 419px;
    height: 40px;
  }

  .edu-infor-box .edu-infor-content .edit-content .el-form .form-item-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }

  .edu-infor-box .edu-infor-content .edit-content .el-form .form-item-row div {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .edu-infor-box .edu-infor-content .edit-content .el-form .form-item-row div .el-input {
    margin-right: 48px;
  }

  .edu-infor-box .edu-infor-content .edit-content .el-form .form-date-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 24px;
    margin-top: 8px;
  }

  .edu-infor-box .edu-infor-content .edit-content .el-form .form-date-row div {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .edu-infor-box .edu-infor-content .edit-content .el-form .form-date-row div .el-input {
    margin-right: 17px;
  }

  .edu-infor-box .edu-infor-content .edit-content .el-form .form-date-row .form-date-goto {
    color: #555666;
    font-size: 14px;
    margin-right: 17px;
  }

  .edu-infor-box .edu-infor-content .edit-content .el-form .form-edu-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }

  .edu-infor-box .edu-infor-content .edit-content .el-form .form-edu-row div {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .edu-infor-box .edu-infor-content .edit-content .el-form .form-item-title {
    color: #555666;
    font-size: 14px;
    margin-bottom: 8px;
  }

  .edu-infor-box .edu-infor-content .edit-content .el-form .form-footer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-top: 24px;
  }

  .edu-infor-box .edu-infor-content .edit-content .el-form .form-footer button {
    padding: 5px 26px;
  }

  .edu-infor-box .edu-infor-content .edit-content .el-form .form-footer button span {
    font-size: 14px;
    line-height: 20px;
    display: inline-block;
  }

  .edu-infor-box .edu-infor-content .edit-content .el-form .form-footer .edit-btn-cancel {
    color: #fc5531;
    border: 1px solid #fc5531;
  }

  .edu-infor-box .edu-infor-content .edit-content .el-form .form-footer .edit-btn-cancel:hover {
    background-color: #fff5f2;
  }

  .edu-infor-box .edu-infor-content .edit-content .el-form .form-footer .edit-btn-save {
    background-color: #fc5531;
    border-color: #fc5531;
  }

  .edu-infor-box .edu-infor-content .edit-content .el-form .form-footer .edit-btn-save:hover {
    background-color: #fc1944;
  }

  .edu-infor-box .edu-infor-content .edit-content .el-form .form-footer .edit-btn-done {
    background-color: #fc5531;
    border-color: #fc5531;
  }

  .edu-infor-box .edu-infor-content .edit-content .el-form .form-footer .edit-btn-done:hover {
    background-color: #fc1944;
  }

  .edu-infor-box .cert-school-dialog {
    width: 562px;
    height: 436px;
  }

  .edu-infor-box .cert-school-dialog .privacy {
    margin-top: 16px;
  }

  .edu-infor-box .cert-school-dialog .privacy p {
    font-size: 14px;
    line-height: 22px;
    color: #8d92a1;
    letter-spacing: 0.6px;
  }

  .edu-infor-box .cert-school-dialog .privacy em {
    color: #409eff;
    font-style: normal;
  }

  .edu-infor-box .cert-school-dialog .privacy em a {
    color: #409eff;
  }

  .edu-infor-box .cert-school-dialog .el-button--primary {
    width: 144px;
    height: 40px;
    border-radius: 42px;
    background: #fc5531;
    color: #fff;
    border: 1px solid #fc5531;
  }

  .edu-infor-box .cert-school-dialog .el-button--primary:hover {
    background-color: #fc1944;
  }

  .edu-infor-box .upload-school .el-upload-dragger {
    width: 498px;
    height: 244px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background: #f8f8f8;
  }

  .edu-infor-box .upload-school .el-upload-dragger .el-upload__text p {
    font-size: 14px;
    color: #8d92a1;
    margin-top: 16px;
  }

  .edu-infor-box .upload-school .el-upload-dragger .reset-upload {
    width: 100%;
    height: 100%;
    position: relative;
    padding: 8px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }

  .edu-infor-box .upload-school .el-upload-dragger .reset-upload img {
    max-width: 100%;
    max-height: 100%;
  }

  .edu-infor-box .upload-school .el-upload-dragger .reset-upload .hover-div {
    display: none;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    position: absolute;
    top: 0;
    left: 0;
  }

  .edu-infor-box .upload-school .el-upload-dragger .reset-upload .hover-div .reset-upload-text {
    width: 128px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    text-align: center;
    line-height: 40px;
    color: #fff;
    font-size: 14px;
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    z-index: 1;
  }

  .edu-infor-box .upload-school .el-upload-dragger .reset-upload:hover .hover-div {
    display: block;
  }

  .edu-infor-box .cert-edu-ing-dialog {
    width: 562px;
    height: 436px;
  }

  .edu-infor-box .cert-edu-ing-dialog .cert-edu-ing-dialog-content {
    width: 498px;
    height: 244px;
    border: 1px dashed #ccccd8;
    border-radius: 2px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 8px;
  }

  .edu-infor-box .cert-edu-ing-dialog .cert-edu-ing-dialog-content img {
    max-width: 100%;
    max-height: 100%;
  }

  .edu-infor-box .cert-edu-ing-dialog .privacy {
    margin-top: 16px;
  }

  .edu-infor-box .cert-edu-ing-dialog .privacy p {
    font-size: 14px;
    line-height: 22px;
    color: #8d92a1;
    letter-spacing: 0.6px;
  }

  .edu-infor-box .cert-edu-ing-dialog .privacy em {
    color: #409eff;
    font-style: normal;
  }

  .edu-infor-box .cert-edu-ing-dialog .privacy em a {
    color: #409eff;
  }

  .edu-infor-box .cert-edu-ing-dialog .el-dialog__body {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .edu-infor-box .cert-edu-ing-dialog .el-button--primary {
    width: 144px;
    height: 40px;
    border-radius: 42px;
    background: #fc5531;
    color: #fff;
    border: 1px solid #fc5531;
  }

  .edu-infor-box .cert-edu-ing-dialog .el-button--primary:hover {
    background-color: #fc1944;
  }

  .edu-infor-box .cert-school-dialog .el-dialog__header {
    padding: 40px 12px 10px;
    font-weight: 600;
    color: #222226;
  }

  .edu-infor-box .cert-school-dialog .el-dialog__body {
    padding: 25px 32px 30px;
  }

  .edu-infor-box .cert-edu-ing-dialog .el-dialog__header {
    padding: 40px 12px 10px;
    font-weight: 600;
    color: #222226;
  }

}
</style>
